package model;

import java.io.Serializable;

/**
 * Kunde-Model
 * 
 * @author Safran Quader
 * @version 0.2
 *
 */

public class Kunde implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5442836352430808046L;
	private int kundenID;
	private String firmenname;
	private String branche;
	private String name;
	private String vorname;
	private String email;
	private String telefon;
	private String bemerkungen;
	
	private Adresse adresse; // 0..1 Adresse <-> 0..1 Kunde
	
	public Kunde(){
		this.kundenID = -1;
		this.firmenname = "";
		this.branche = "";
		this.name = "";
		this.vorname = "";
		this.email = "";
		this.telefon = "";
		this.bemerkungen = null;
		this.adresse = null;
	}
	
	public Kunde(int kundenID, String firmenname, String branche, String name, String vorname, String email, String telefon, String bemerkungen, Adresse adresse, ManagementAssistent managementAssistent){
		this.kundenID = kundenID;
		this.firmenname = firmenname;
		this.branche = branche;
		this.name = name;
		this.vorname = vorname;
		this.email = email;
		this.telefon = telefon;
		this.bemerkungen = bemerkungen;
		this.adresse = adresse;
	}
		
	public int getKundenID() {
		return kundenID;
	}
	public void setKundenID(int kundenID) {
		this.kundenID = kundenID;
	}
	public String getFirmenname() {
		return firmenname;
	}
	public void setFirmenname(String firmenname) {
		this.firmenname = firmenname;
	}
	public String getBranche() {
		return branche;
	}
	public void setBranche(String branche) {
		this.branche = branche;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getVorname() {
		return vorname;
	}
	public void setVorname(String vorname) {
		this.vorname = vorname;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTelefon() {
		return telefon;
	}
	public void setTelefon(String telefon) {
		this.telefon = telefon;
	}
	public String getBemerkungen() {
		return bemerkungen;
	}
	public void setBemerkungen(String bemerkungen) {
		this.bemerkungen = bemerkungen;
	}

	public Adresse getAdresse() {
		return adresse;
	}

	public void setAdresse(Adresse adresse) {
		this.adresse = adresse;
	}
}
